/* service/newsInfo/newsInfo.wxss */
.news_info {
  padding: 28rpx 24rpx 0;
}

.news_info .category-scroll {
  width: 100%;
  margin-bottom: 30rpx;
  position: sticky;
  top: 0;
  z-index: 10;
}

.news_info .category-list {
  white-space: nowrap;
  padding: 20rpx 0;
  display: flex;
  align-items: center;
}

.news_info .category-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16rpx 36rpx;
  margin-right: 24rpx;
  font-size: 28rpx;
  color: #666;
  background: #f8f8f8;
  border-radius: 32rpx;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.news_info .category-item:last-child {
  margin-right: 0;
}

.news_info .category-item.active {
  color: #fff;
  background: linear-gradient(135deg, #007AFF, #0056b3);
  box-shadow: 0 4rpx 12rpx rgba(0, 122, 255, 0.2);
  transform: translateY(-2rpx);
}

.news_info .swiper {
  width: 100%;
  height: 272rpx;
  border-radius: 14rpx;
  overflow: hidden;
}

.news_info .swiper_item {
  width: 100%;
  height: 100%;
}

.news_info .swiper_item image {
  width: 100%;
  height: 100%;
}

.news_info .list .title {
  font-size: 36rpx;
  font-weight: bold;
  color: #1B1B1B;
}

.news_info .list .item {
  margin-top: 20rpx;
}

.news_info .status {
  padding: 20rpx 0;
  text-align: center;
  font-size: 28rpx;
  color: #a7a7a7;
}

.news_info .safe_height {
  height: calc(env(safe-area-inset-bottom) + 40rpx);
}
